using System;

namespace NobleTech.Products.CreatureKingdom.Utils
{
    public interface IRectangleD
    {
        bool IsEmpty { get; }
        PointD LeftTop { get; set; }
        SizeD Size { get; set; }
        PointD RightBottom { get; set; }
        PointD Centre { get; set; }
        PointD MiddleTop { get; set; }
        PointD LeftMiddle { get; set; }
        bool Contains(PointD pt);
        bool Contains(IRectangleD rect);
        IRectangleD Extend(double left, double top, double right, double bottom);
        IRectangleD Extend(double leftRight, double topBottom);
        IRectangleD Extend(double size);
        IRectangleD Extend(SizeD size);
        IRectangleD Extend(SizeD leftTop, SizeD rightBottom);
        IRectangleD ExtendAround(PointD pt);
    }
}
